package com.lb.uts.service.impl;

import com.lb.uts.entity.ActiveScheduling;
import com.lb.uts.mapper.ActiveSchedulingMapper;
import com.lb.uts.service.AbstractBaseService;
import com.lb.uts.service.IActiveSchedulingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 执行器管理实现
 *@author liangb
 *@date 2019/4/30 14:48
 *@version 3.0
 */
@Service
public class ActiveSchedulingService extends AbstractBaseService<ActiveSchedulingMapper, ActiveScheduling> implements IActiveSchedulingService {

    @Autowired
    private ActiveSchedulingMapper activeSchedulingMapper;

    @Override
    public int deleteByIp(String ipAndPort) {
        return activeSchedulingMapper.deleteByIp(ipAndPort);
    }
}
